<?

/*
 * Copyright (c) 2010 DC Team
 */

define('DC', true);
//header('Content-Type: text/html; charset=utf-8');
//文件加载
define('ROOT', dirname(__FILE__).DIRECTORY_SEPARATOR);
include_once(ROOT.'include/data.conf.php');
include_once(ROOT.'include/mmc.conf.php');
include_once(ROOT.'include/globalFun.php');

if (!isset($_REQUEST['act']) || $_REQUEST['act'] != 'myequip') {
	exit('非法使用');
}
if (!isset($_REQUEST['dbId'])) {
	exit('请输入数据库标识');
}

$dbId = $_REQUEST['dbId'];
$g_db = mysqlConnect($dbId);
$maindata = checkDatabase($dbId, 1, 1);

echo base64_encode(serialize($maindata));

?>